package org.orbis.communicate.searcher;

public class InvertIndexResult{
	private long[] IDs;
//	private int[] termfreqs;
	
	private InvertIndexResult() {}
	
	public static InvertIndexResult setResult(int length) {
		InvertIndexResult result = new InvertIndexResult();
		
		result.IDs = new long[length];
		
		return result;
	}
	
	public void setID(long ID, int index){
		IDs[index] = ID;
	}
	
	public long[] getIDs(){
		return IDs;
	}
}
